Telegram Group & Telegram Channel
Задача с кодом. Каждое слово — с большой буквы

Ваша задача — воспроизвести функционал метода title(), создав функцию emphasise(). Метод title() делает заглавной первую букву каждого слова, все остальные буквы переводятся в нижний регистр.

Примечания:

- С цифрами и прочими символами ничего делать не надо, работаем только с буквами.
- Пожалуйста, не используйте сам метод title()!

Примеры:

emphasise("hello world") ➞ "Hello World"
emphasise("GOOD MORNING") ➞ "Good Morning"
emphasise("99 red balloons!") ➞ "99 Red Balloons!"

Решение на нашем сайте.

#задача #coding



tg-me.com/pythonist_ru/2438
Create:
Last Update:

Задача с кодом. Каждое слово — с большой буквы

Ваша задача — воспроизвести функционал метода title(), создав функцию emphasise(). Метод title() делает заглавной первую букву каждого слова, все остальные буквы переводятся в нижний регистр.

Примечания:

- С цифрами и прочими символами ничего делать не надо, работаем только с буквами.
- Пожалуйста, не используйте сам метод title()!

Примеры:

emphasise("hello world") ➞ "Hello World"
emphasise("GOOD MORNING") ➞ "Good Morning"
emphasise("99 red balloons!") ➞ "99 Red Balloons!"

Решение на нашем сайте.

#задача #coding

BY Pythonist.ru - образование по питону


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonist_ru/2438

View MORE
Open in Telegram


Pythonist ru образование по питону Telegram | DID YOU KNOW?

Date: |

What is Secret Chats of Telegram

Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.

That growth environment will include rising inflation and interest rates. Those upward shifts naturally accompany healthy growth periods as the demand for resources, products and services rise. Importantly, the Federal Reserve has laid out the rationale for not interfering with that natural growth transition.It's not exactly a fad, but there is a widespread willingness to pay up for a growth story. Classic fundamental analysis takes a back seat. Even negative earnings are ignored. In fact, positive earnings seem to be a limiting measure, producing the question, "Is that all you've got?" The preference is a vision of untold riches when the exciting story plays out as expected.

Pythonist ru образование по питону from tr


Telegram Pythonist.ru - образование по питону
FROM USA